/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package yuhuibear.poat.test.annotation;

/**
 *
 * @author yuhuibear
 */
public class MainRun {

    public static void main(String[] args){
        String sql ="insert into logs (dsp, id, name, ownerId, time ) values (?, ?, ?, ?, ?)";
        String atrs = sql.replace("insert\\sinto\\s?\\w+\\s*(", "");
        String[] ay = sql.split(",");
        for(String itr : ay ){
            System.out.println(itr);
        }
        System.out.println(atrs);
        System.out.append(sql.replace("insert\\sinto\\s?\\w+\\s*(", ""));
    }
}
